<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:63:"E:\Web\shenpi\public/../application/admin\view\index\index.html";i:1531917280;s:55:"E:\Web\shenpi\application\admin\view\common\header.html";i:1531917280;s:53:"E:\Web\shenpi\application\admin\view\common\left.html";i:1531917280;s:55:"E:\Web\shenpi\application\admin\view\common\footer.html";i:1531917280;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>韩城市综合行政执法局业务审批管理系统</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
  <link rel="stylesheet" href="/static/admin/bower_components/bootstrap/dist/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="/static/admin/bower_components/font-awesome/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="/static/admin/bower_components/Ionicons/css/ionicons.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="/static/admin/dist/css/AdminLTE.min.css">
  <!-- AdminLTE Skins. Choose a skin from the css/skins
       folder instead of downloading all of them to reduce the load. -->
  <link rel="stylesheet" href="/static/admin/dist/css/skins/_all-skins.min.css">
  <!-- Morris chart -->
  <link rel="stylesheet" href="/static/admin/bower_components/morris.js/morris.css">
  <!-- jvectormap -->
  <link rel="stylesheet" href="/static/admin/bower_components/jvectormap/jquery-jvectormap.css">
  <!-- Date Picker -->
  <link rel="stylesheet" href="/static/admin/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
  <!-- Daterange picker -->
  <link rel="stylesheet" href="/static/admin/bower_components/bootstrap-daterangepicker/daterangepicker.css">
  <!-- bootstrap wysihtml5 - text editor -->
  <link rel="stylesheet" href="/static/admin/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
  <!-- 日历签到样式 -->
  <link rel="stylesheet" href="/static/admin/css/public.css" />
  <link rel="stylesheet" href="/static/admin/css/signin.css" />
  <script src="/static/admin/js/rili.js"></script>
  <!-- 自定义样式 -->
  <link rel="stylesheet" href="/static/admin/css/style.css">
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->



</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <!-- 头部 -->
  <header class="main-header">
    <!-- Logo -->
    <a href="<?php echo url('index/index'); ?>" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b>业务审批</b></span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><b>业务审批管理系统</b></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only">Toggle navigation</span>
        </a>

        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">



            </ul>
            </li>

            </ul>
        </div>
    </nav>
</header>
  <!-- //头部 -->

  <!-- 左侧导航 -->
  <!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="/static/admin/images/huibiao.png" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <p style="font-size: 18px;font-weight: bold; line-height: 24px;"><?php echo \think\Session::get('logininfo.username'); ?>&nbsp;&nbsp;<span style="font-size: 14px; color: #0b97c4;"><?php echo \think\Session::get('logininfo.position_name'); ?></span></p>
                <p style="font-size: 12px;font-weight: normal;line-height: 22px;"><?php echo \think\Session::get('logininfo.group_name'); ?>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo url('admin/logout'); ?>">[退出]</a></p>

            </div>
        </div>
        <!-- search form -->

        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu" data-widget="tree">
            <li class="header">页面导航</li>
            <!--<li class="treeview<?php if($con == 'Admin'): ?> menu-open<?php endif; ?>">-->
            <li class="treeview<?php if($con == 'AuthGroup '): ?> menu-open<?php endif; if($con == 'Admin '): ?> menu-open<?php endif; if($con == 'AuthRule '): ?> menu-open<?php endif; ?> ">
                <a href="#">
                    <i class="glyphicon glyphicon-user"></i> <span>用户管理</span>
                    <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
                </a>
                <ul class="treeview-menu<?php if($con == 'AuthGroup'): ?> block<?php endif; if($con == 'Admin'): ?> block<?php endif; if($con == 'AuthRule'): ?> block<?php endif; ?>">
                    <li class="<?php if($con == 'Admin' AND $action == 'lst'): ?> active<?php endif; ?>"><a href="<?php echo url('admin/lst'); ?>"><i class="fa fa-circle-o"></i>管理员管理</a></li>
            <li class="<?php if($con == 'AuthGroup' AND $action == 'lst'): ?> active<?php endif; ?>"><a href="<?php echo url('authGroup/lst'); ?>"><i class="fa fa-circle-o"></i>用户组管理</a></li>
            <li class="<?php if($con == 'AuthRule' AND $action == 'lst'): ?> active<?php endif; ?>"><a  href = '<?php echo url('authRule/lst'); ?>'><i class="fa fa-circle-o"></i>权限管理</a></li>
                </ul>
            </li>
            <li class="treeview <?php if($con == 'Position'): ?> menu-open<?php endif; ?>">
                <a href="#">
                    <i class="glyphicon glyphicon-globe"></i> <span>部门管理</span>
                    <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
                </a>
                <ul class="treeview-menu <?php if($con == 'Position'): ?> block<?php endif; ?>">
                    <li class="<?php if($action == 'lst'): ?> active<?php endif; ?>"><a href="<?php echo url('position/lst'); ?>"><i class="fa fa-circle-o"></i>部门列表</a></li>
                    <li class="<?php if($action == 'add'): ?> active<?php endif; ?>"><a href="<?php echo url('position/add'); ?>"><i class="fa fa-circle-o"></i>添加部门</a></li>
                </ul>
            </li>
        <li class="treeview <?php if($con == 'Area'): ?> menu-open<?php endif; ?>">
        <a href="#">
            <i class="fa fa-random"></i> <span>区域管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu <?php if($con == 'Area'): ?> block<?php endif; ?>">
        <li class="<?php if($action == 'lst'): ?> active<?php endif; ?>"><a href="<?php echo url('area/lst'); ?>"><i class="fa fa-circle-o"></i>区域列表</a></li>
        <li class="<?php if($action == 'add'): ?> active<?php endif; ?>"><a href="<?php echo url('area/add'); ?>"><i class="fa fa-circle-o"></i>添加区域</a></li>
        </ul>
        </li>
            <li class="treeview <?php if($con == 'Category' AND $action == 'lst'): ?> menu-open<?php endif; if($con == 'Business' AND $action == 'add'): ?>menu-open<?php endif; if($con == 'Business' AND $action == 'lst'): ?>menu-open<?php endif; ?>">
                <a href="#">
                    <i class="glyphicon glyphicon-folder-open"></i>
                    <span>业务管理</span>
                    <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
                </a>
                <ul class="treeview-menu <?php if($con == 'Category' AND $action == 'lst'): ?> block<?php endif; if($con == 'Business' AND $action == 'add'): ?>block<?php endif; if($con == 'Business' AND $action == 'lst'): ?>block<?php endif; ?>">
                    <li class="<?php if($con == 'Category' AND $action == 'lst'): ?> active<?php endif; ?>"><a href="<?php echo url('category/lst'); ?>"><i class="fa fa-circle-o"></i>业务类型</a></li>
                    <li class="<?php if($con == 'Business' AND $action == 'add'): ?> active<?php endif; ?>"><a href="<?php echo url('business/add'); ?>"><i class="fa fa-circle-o"></i>添加业务</a></li>
                    <li class="<?php if($con == 'Business' AND $action == 'lst'): ?> active<?php endif; ?>"><a href="<?php echo url('business/lst'); ?>"><i class="fa fa-circle-o"></i>管理业务</a></li>

                </ul>
            </li>
        <li class="<?php if($con == 'Business' AND $action == 'kanyan'): ?> active<?php endif; ?>">
            <a href="<?php echo url('business/kanyan'); ?>">
                <i class="fa fa-fighter-jet"></i>
                现场勘验
            </a>

        </li>
            <li class="treeview <?php if($con == 'Business' AND $action == 'step'): ?> menu-open<?php endif; ?>">
                <a href="#">
                    <i class="glyphicon glyphicon-check"></i>
                    <span>业务审批</span>
                    <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
                </a>
                <ul class="treeview-menu <?php if($con == 'Business' AND $action == 'step'): ?> block<?php endif; ?>">

                    <li class="<?php if($action == 'step' AND $status==1): ?> active<?php endif; ?>"><a href="<?php echo url('business/step',array('status'=>1)); ?>"><i class="fa fa-circle-o"></i>1级审批</a></li>
                    <li class="<?php if($action == 'step' AND $status==2): ?> active<?php endif; ?>"><a href="<?php echo url('business/step',array('status'=>2)); ?>"><i class="fa fa-circle-o"></i>2级审批</a></li>
                    <li class="<?php if($action == 'step' AND $status==3): ?> active<?php endif; ?>"><a href="<?php echo url('business/step',array('status'=>3)); ?>"><i class="fa fa-circle-o"></i>3级审批</a></li>
                    <li class="<?php if($action == 'step' AND $status==4): ?> active<?php endif; ?>"><a href="<?php echo url('business/step',array('status'=>4)); ?>"><i class="fa fa-circle-o"></i>4级审批</a></li>
                    <li class="<?php if($action == 'step' AND $status==5): ?> active<?php endif; ?>"><a href="<?php echo url('business/step',array('status'=>5)); ?>"><i class="fa fa-circle-o"></i>终审通过</a></li>

                </ul>
            </li>
            <li class="<?php if($con == 'Business' AND $action == 'countdays'): ?> active<?php endif; if($con == 'Business' AND $action == 'countweeks'): ?> active<?php endif; if($con == 'Business' AND $action == 'countmonth'): ?> active<?php endif; if($con == 'Business' AND $action == 'countyears'): ?> active<?php endif; ?>">
                <a href="<?php echo url('business/countdays'); ?>">
                    <i class="glyphicon glyphicon-stats"></i>
                    业务统计
                </a>

            </li>




        </ul>
    </section>
    <!-- /.sidebar -->
</aside>
  <!-- /左侧导航 -->

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        系统概况

      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> 系统</a></li>
        <li class="active">首页</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
      <!-- Small boxes (Stat box) -->
      <div class="row">
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-aqua">
            <div class="inner" style="overflow: hidden;">
              <div class="pull-left">
                <h3><?php echo $days['count']; ?></h3>

                <p>今日受理</p>
              </div>
              <div class="pull-left" style="margin-left: 20%;">
                <h3><?php echo $days['counte']; ?></h3>

                <p>今日办结</p>
              </div>
            </div>

            <div class="icon">
              <i class="fa fa-bar-chart"></i>
            </div>
            <a href="<?php echo url('business/countdays'); ?>" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-green">
            <div class="inner" style="overflow: hidden;">
              <div class="pull-left">
                <h3><?php echo $weeks['count']; ?></h3>

                <p>本周受理</p>
              </div>
              <div class="pull-left" style="margin-left: 20%;">
                <h3><?php echo $weeks['counte']; ?></h3>

                <p>本周办结</p>
              </div>
            </div>
            <div class="icon">
              <i class="glyphicon glyphicon-equalizer"></i>
            </div>
            <a href="<?php echo url('business/countweeks'); ?>" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-yellow">
            <div class="inner" style="overflow: hidden;">
              <div class="pull-left">
                <h3><?php echo $month['count']; ?></h3>

                <p>本月受理</p>
              </div>
              <div class="pull-left" style="margin-left: 20%;">
                <h3><?php echo $month['counte']; ?></h3>

                <p>本月办结</p>
              </div>
            </div>
            <div class="icon">
              <i class="glyphicon glyphicon-fullscreen"></i>
            </div>
            <a href="<?php echo url('business/countmonth'); ?>" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-red">
            <div class="inner" style="overflow: hidden;">
              <div class="pull-left">
                <h3><?php echo $years['count']; ?></h3>

                <p>年度受理</p>
              </div>
              <div class="pull-left" style="margin-left: 20%;">
                <h3><?php echo $years['counte']; ?></h3>

                <p>年度办结</p>
              </div>
            </div>
            <div class="icon">
              <i class="fa fa-area-chart"></i>
            </div>
            <a href="<?php echo url('business/countyears'); ?>" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
      </div>
      <!-- /.row -->
      <!-- Main row -->
      
      <!-- /.row (main row) -->

    </section>
    <!-- /.content -->
    <div class="row">
      <!-- Left col -->
      <section class="col-lg-7 connectedSortable ui-sortable">

        <!-- 待办事项列表 -->
        <div class="box box-primary">
          <div class="box-header ui-sortable-handle" style="cursor: move;">
            <i class="ion ion-clipboard"></i>

            <h3 class="box-title">待办事项</h3>


          </div>
          <!-- /.box-header -->
          <div class="box-body">
            <ul class="todo-list ui-sortable">
              <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
              <li>
                <!-- drag handle -->
                <span class="handle ui-sortable-handle">
                        <i class="fa fa-ellipsis-v"></i>
                        <i class="fa fa-ellipsis-v"></i>
                      </span>
                <!-- checkbox -->
                <input type="checkbox" value="">
                <!-- todo text -->
                <span class="text"><?php echo $vo['bus_name']; ?></span>
                <!-- Emphasis label -->
                <small class="label label-danger"><i class="fa fa-clock-o"></i> <?php echo date("Y-m-d",$vo['bus_create_time']); ?></small>
                <!-- General tools such as edit or delete-->
                <div class="tools">
                  <i class="fa fa-edit"></i>
                  <i class="fa fa-trash-o"></i>
                </div>
              </li>
              <?php endforeach; endif; else: echo "" ;endif; ?>

            </ul>
          </div>
          <!-- /.box-body -->
          <div class="box-footer clearfix no-border">

          </div>
        </div>
        <!-- /.box -->



      </section>
      <!-- /.Left col -->
      <!-- right col (We are only adding the ID to make the widgets sortable)-->
      <section class="col-lg-5 connectedSortable ui-sortable">





        <!-- Calendar -->
        <div class="box box-solid bg-green-gradient" style="width: 98%;">

          <div class="top flex flex-align-end flex-pack-center flex-warp">
            <div class="out-1 flex flex-align-center flex-pack-center" id="signIn">
              <div class="out-2 flex flex-align-center flex-pack-center">
                <div class="signBtn">
                  <strong id="sign-txt">签到</strong>
                  <span>连续<em id="sign-count">0</em>天</span>
                </div>
              </div>
            </div>
          </div>
          <div class="tips">欢迎使用本系统</div>
          <div class="Calendar">
            <div id="toyear" class="flex flex-pack-center">
              <div id="idCalendarPre">&lt;</div>
              <div class="year-month">
                <span id="idCalendarYear">2018</span>年<span id="idCalendarMonth">6</span>月
              </div>
              <div id="idCalendarNext">&gt;</div>
            </div>
            <table border="1px" cellpadding="0" cellspacing="0">
              <thead>
              <tr class="tou">
                <td>日</td>
                <td>一</td>
                <td>二</td>
                <td>三</td>
                <td>四</td>
                <td>五</td>
                <td>六</td>
              </tr>
              </thead>
              <tbody id="idCalendar">
              </tbody>
            </table>
          </div>
          <script language="JavaScript">
              var isSign = false;
              var myday = new Array(); //已签到的数组
              //			myday[0] = "1528646400"
              //			myday[1] = "1528387200"
              //			myday[2] = "1525708800"

              var cale = new Calendar("idCalendar", {
                  qdDay: myday,
                  onToday: function(o) {
                      o.className = "onToday";
                  },
                  onSignIn: function (){
                      $$("sign-txt").innerHTML = '已签到';
                  },
                  onFinish: function() {
                      $$("sign-count").innerHTML = myday.length //已签到次数
                      $$("idCalendarYear").innerHTML = this.Year;
                      $$("idCalendarMonth").innerHTML = this.Month; //表头年份

                  }
              });
              $$("idCalendarPre").onclick = function() {
                  cale.PreMonth();
              }
              $$("idCalendarNext").onclick = function() {
                  cale.NextMonth();
              }
              //添加今天签到
              $$("signIn").onclick = function() {
                  if(isSign == false) {
                      var res = cale.SignIn();
                      if(res == '1') {
                          $$("sign-txt").innerHTML = '已签到';
                          $$("sign-count").innerHTML = parseInt($$("sign-count").innerHTML) + 1;
                          isSign = true;
                      } else if (res == '2'){
                          $$("sign-txt").innerHTML = '已签到';
                          alert('今天已经签到了')
                      }
                  } else {
                      alert('今天已经签到了')
                  }

              }
          </script>

        </div>
        <!-- /.box -->

      </section>
      <!-- right col -->
    </div>
  </div>
  <!-- /.content-wrapper -->

  <!-- 底部 -->
  <footer class="main-footer">
    <div class="pull-right hidden-xs">
        <b>Version</b> 2.0
    </div>
    <strong>Copyright &copy; 2010-2018 <a href="http://www.hczycm.com">韩城市综合行政执法局</a>.</strong> All rights
    reserved.
</footer>
  <!-- /底部 -->


</div>
<!-- ./wrapper -->

<!-- jQuery 3 -->
<script src="/static/admin/bower_components/jquery/dist/jquery.min.js"></script>

<!-- Bootstrap 3.3.7 -->
<script src="/static/admin/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="/static/admin/bower_components/raphael/raphael.min.js"></script>
<script src="/static/admin/bower_components/morris.js/morris.min.js"></script>
<!-- Sparkline -->
<script src="/static/admin/bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="/static/admin/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="/static/admin/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script src="/static/admin/bower_components/jquery-knob/dist/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script src="/static/admin/bower_components/moment/min/moment.min.js"></script>
<script src="/static/admin/bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
<!-- datepicker -->
<script src="/static/admin/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="/static/admin/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<!-- Slimscroll -->
<script src="/static/admin/bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="/static/admin/bower_components/fastclick/lib/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="/static/admin/dist/js/adminlte.min.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="/static/admin/dist/js/pages/dashboard.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/static/admin/dist/js/demo.js"></script>
</body>
</html>
